package pers.xuyong.strive.datastruct.mode.factory.product;

/**
 * 黄种人
 *
 * @author billymac
 * @version 1.0
 * @date 17/6/28  下午10:38
 * @since JDK1.8
 */
public class YellowHuman extends AbstractHuman {
    @Override
    public void getColor() {
        System.out.println("I'm yellow human!");
    }

    @Override
    public void talk() {
        System.out.println("I speak to chinese!");
    }
}
